package com.tyl.xtk.constants;

import lombok.Getter;

public enum ErrorEnum {
    Common(500, "服务器内部错误");

    @Getter
    private final int code;
    @Getter
    private final String message;

    ErrorEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
